<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ include file="/pages/common/header.jsp"%>
</head>
<body>
	<div class="contentBody contentborder">
		<div class="tab-pane" id="tabPane">
			<div id="message"><%=message %></div>
			<div class="tab-page">
				 <h1 class="tab">字典表列表</h1>
 				 <div class="contentborder">
                	 <jdf:form bean="request" scope="request">
						<form action="<%=dynamicDomain%>/dict/page" method="post">
							 <table class="inputTable">
			                 	<tr>
									<td nowrap class="label cancelBorderLeft">
										<label for="search_EQI_dictionaryId">字典ID：</label>
									</td>
									<td class="content">
										<input type="text" name="search_EQI_dictionaryId" />
									</td>
									<td nowrap class="label">
										<label for="search_LIKES_name">字典名称：</label>
									</td>
									<td class="content">
										<input type="text" name="search_LIKES_name" />
									</td>
			                 	</tr>
			                 	<tr>
									<td nowrap class="label cancelBorderLeft">
										<label for="search_EQI_value">字典值：</label>
									</td>
									<td class="content">
										<input type="text" name="search_EQI_value" />
									</td>
									<td nowrap class="label">
										<label for="search_LIKES_remark">备注：</label>
									</td>
									<td class="content">
										<input type="text" name="search_LIKES_remark" />
									</td>
			                 	</tr>
			                 	<tr>
									<td nowrap class="label cancelBorderLeft">
										<label for="search_EQB_status">状态：</label>
									</td>
									<td class="content">
										<select name="search_EQB_status">
                                            <option value="">请选择</option>
                                            <jdf:select dictionaryId="111"/>
                                        </select>
									</td>
									<td nowrap class="label">
										<label for="search_EQI_parentId">父ID：</label>
									</td>
									<td class="content">
										<input type="text" name="search_EQI_parentId" />
									</td>
			                 	</tr>
			                 	<tr>
                                	<td class="bottomLabel" nowrap colspan="4">
                                		<div class="right">
											<button type="reset">重置</button>
											<button type="submit">查询</button>
                                		</div>
									</td>
			                 </table>
			            </form>
			        </jdf:form>
				</div>
				<div class="contentborder listArea">
					<div class="toolBar">
		 				<button type="button" onclick="window.location.href='<%=dynamicDomain%>/dict/dictTree'">字典树</button>
		 				<button type="button" onclick="window.location.href='<%=dynamicDomain%>/dict/create'">增加</button>
					</div>
					<div id="tableDiv">
						<jdf:table items="items" var="currentRowObject" retrieveRowsCallback="limit" filterRowsCallback="limit" sortRowsCallback="limit" action="page">
							<jdf:export view="csv" fileName="dict.csv" tooltip="导出CSV" imageName="csv" />
							<jdf:export view="xls" fileName="dict.xls" tooltip="导出EXCEL" imageName="xls" />
							<jdf:row>
								<jdf:column property="dictionaryId" title="字典ID" style="width: 10%" />
								<jdf:column property="name" title="名称" style="width: 30%" />
								<jdf:column property="value" title="值" style="width: 10%" />
								<jdf:column property="parentId" title="父ID" style="width: 10%" />
								<jdf:column property="status" title="状态" style="width: 10%">
								   <jdf:columnValue dictionaryId="111" value="${currentRowObject.status}"/>
								</jdf:column>
								<jdf:column property="sortId" title="顺序" style="width: 5%" />
								<jdf:column alias="操作" sortable="false" viewsAllowed="html" style="width: 20%">
									<a href="<%=dynamicDomain%>/dict/edit/${currentRowObject.id}"  class="button">修改</a>
									<a href="<%=dynamicDomain%>/dict/delete/${currentRowObject.id}"  class="button">删除</a>
								</jdf:column>
							</jdf:row>
						</jdf:table>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>